/*
 * @Descripttion:
 * @version:
 * @Date: 2021-04-21 09:18:32
 * @LastEditors: huzhushan@126.com
 * @LastEditTime: 2021-07-26 16:30:58
 * @Author: huzhushan@126.com
 * @HomePage: https://huzhushan.gitee.io/vue3-element-admin
 * @Github: https://github.com/huzhushan/vue3-element-admin
 * @Donate: https://huzhushan.gitee.io/vue3-element-admin/donate/
 */
const role = () => import('@/layout/index.vue')
const UserManagement = () => import('@/views/role/UserManagement.vue')
const MenuManagement = () => import('@/views/role/MenuManagement.vue')
const RoleManagement = () => import('@/views/role/RoleManagement.vue')
// const CheckEnd = () => import('@/views/contractManagement/Check-end.vue')
// const CheckContract = () => import('@/views/contractManagement/Check-contract.vue')
// const NewContract = () => import('@/views/contractManagement/New-contract.vue')
export default [
  {
    path: '/role',
    component: role,
    name: 'role',
    meta: {
      title: '权限管理',
    },
    icon: 'el-icon-s-check',
    children: [
      {
        path: 'UserManagement',
        name: 'UserManagement',
        component: UserManagement,
        meta: {
          title: '用户管理',
        },
        icon: 'el-icon-user-solid',
      },
      {
        path: 'MenuManagement',
        name: 'MenuManagement',
        component: MenuManagement,
        meta: {
          title: '菜单管理',
        },
        icon: 'el-icon-menu',
        // hidden: true,
      },
      {
        path: 'RoleManagement',
        name: 'RoleManagement',
        component: RoleManagement,
        meta: {
          title: '角色管理',
        },
        icon: 'el-icon-s-custom',
        // hidden: true,
      },
    ],
  },
]
